﻿@if (Model.GiftCardList == null)
{
  <div class="box">
        <div id="empty" style="text-align: center">
            <p>@Html.Raw("暂无优惠卷")</p>
            <div class="btn btn-default">
                <a href="/Home" class="empty_go_main">去逛逛</a>
            </div>
        </div>
    </div>
}
else
{
    foreach (var giftCard in Model.GiftCardList)
    {
        <tr>
            <td>@giftCard.GiftCardNumber</td>
            <th>@giftCard.ProductNameForamt</th>
            <td>@giftCard.TotalAmount</td>
            <td>@giftCard.ExpirationForamt</td>
        </tr>
    }
}
